projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efdd68b
)
wayland: Fix get_frame_extents
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Mon, 17 Mar 2014 19:41:08 +0000
(15:41 -0400)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Mon, 17 Mar 2014 19:51:46 +0000
(15:51 -0400)
We need to traverse up the hierarchy for windows here. Just use
our existing helper method for this.
gdk/wayland/gdkwindow-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkwindow-wayland.c
b/gdk/wayland/gdkwindow-wayland.c
index c419714e746040e3f4d4f7e54a0c29990e28ac60..0b502fdd82a6fae423b20ec320ca507797a91a2f 100644
(file)
--- a/
gdk/wayland/gdkwindow-wayland.c
+++ b/
gdk/wayland/gdkwindow-wayland.c
@@
-1667,8
+1667,7
@@
static void
gdk_wayland_window_get_frame_extents (GdkWindow *window,
GdkRectangle *rect)
{
- rect->x = window->x;
- rect->y = window->y;
+ gdk_wayland_window_get_fake_root_coords (window, &rect->x, &rect->y);
rect->width = window->width;
rect->height = window->height;
}